<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>abstra</title>
  </head>

  <body>
    <div id="app">
      <template data-name="test-comp">
        <p><button @click="this.changeState(this.$event)">change</button></p>
        <p>state: {{JSON.stringify(this.state)}}</p>
        <p>
          <button @click="this.addCount()">count: {{this.count.value}}</button>
        </p>
        <p>double: {{this.double.value}}</p>
      </template>
      <test-comp></test-comp>
      <test-comp></test-comp>
    </div>

    <!-- core -->
    <script src="./src/abstra.js"></script>
    <!-- example -->
    <script src="./src/index.js"></script>
  </body>
</html>
